package com.haoyeteng.sxbd.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.haoyeteng.sxbd.core.mongodb.MongoFileReader;
import com.haoyeteng.sxbd.core.mongodb.MongoFileWriter;

@Configuration
public class MongodbConfig {

	@Bean
	public MongoFileReader mongoFileReader() {
		return new MongoFileReader();
	}
	
	@Bean
	public MongoFileWriter mongoFileWriter() {
		return new MongoFileWriter();
	}
}
